package com.niiwoo.civet.trade.dao.mapper;

import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;

public interface ProjectDeliveryChannelRecordMapperExt extends ProjectDeliveryChannelRecordMapper{
    /**
     * 按渠道统计指定日期投放的金额
     * @param deliveryDate
     * @param channelIdList
     * @return
     */
    List<Map<String,Object>> selectByPriority(@Param("deliveryDate") String deliveryDate, @Param("channelIdList") List<Long> channelIdList);

    /**
     *
     * @Description 统计借款期限指定日期投放的金额
     * @param
     * @return BigDecimal
     *
     */
    BigDecimal countDeliveryAmount(Map<String,Object> condition);
}